package com.leetcode.practice.self.listen;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public abstract class BaseEvent<T> implements Serializable {
    public String id;

    public LocalDateTime date;

    public T data;

}
